import { POST,UPLOAD } from "../../services/request";

export default {
    register(data = {})
    {
        return POST({
            url:'/business/base/register',
            params:data
        })
    },
    login(data = {})
    {
        return POST({
            url:'/business/base/login',
            params:data
        })
    },
    profile(data = {})
    {
        return UPLOAD({
            url:'/business/base/profile',
            params:data
        })
    },
    send(data = {})
    {
        return POST({
            url:'/business/base/send',
            params:data
        })
    },
    BaseIndex(data = {})
    {
        return POST({
            url:'/business/base/index',
            params:data
        })
    },
    email(data = {})
    {
        return POST({
            url:'/business/base/email',
            params:data
        })
    },
    CollectionData(data = {})
    {
        return POST({
            url:'/business/base/collection',
            params:data
        })
    },
}